home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 22 / AMUG_22-4.ISO / Files IV / Prog / T / TinyTools-2.sit / TinyTools / StdPrint.h < prev    next >
MacBinary  |  1997-10-07  |  3.6 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Oct 7 03:06:21 1997, modified Tue Oct 7 03:06:21 1997, creator 'MPS ', type ASCII, 3042 bytes "StdPrint.h" , at 0xc62 428 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% lsar MacBinary default
100% librempegprobeID NGC (Nintendo DSP Standard) (ngcdspstd) default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 53 74 64 50 72 69 | 6e 74 2e 68 00 00 00 00 |..StdPri|nt.h....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 0b e2 00 | 00 01 ac b0 5f 8f ed b0 |........|...._...|
|00000060| 5f 8f ed 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |_.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 30 76 00 00 |........|....0v..|
|00000080| 2f 2a 20 46 69 6c 65 20 | 53 74 64 50 72 69 6e 74 |/* File |StdPrint|
|00000090| 2e 68 0d 09 73 69 6d 70 | 6c 65 20 70 72 69 6e 74 |.h..simp|le print|
|000000a0| 65 72 20 72 6f 75 74 69 | 6e 65 73 2c 20 69 6e 74 |er routi|nes, int|
|000000b0| 65 72 66 61 63 65 2e 0d | 09 43 6f 70 79 72 69 67 |erface..|.Copyrig|
|000000c0| 68 74 20 28 63 29 20 31 | 39 39 37 20 62 79 20 4a |ht (c) 1|997 by J|
|000000d0| 6f 68 6e 20 4d 6f 6e 74 | 62 72 69 61 6e 64 2e 20 |ohn Mont|briand. |
|000000e0| 20 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 | All Rig|hts Rese|
|000000f0| 72 76 65 64 2e 0d 09 50 | 65 72 6d 69 73 73 69 6f |rved...P|ermissio|
|00000100| 6e 20 67 72 61 6e 74 65 | 64 20 66 6f 72 20 70 75 |n grante|d for pu|
|00000110| 62 6c 69 63 20 75 73 65 | 2e 0d 09 44 69 73 74 72 |blic use|...Distr|
|00000120| 69 62 75 74 65 20 66 72 | 65 65 6c 79 20 69 6e 20 |ibute fr|eely in |
|00000130| 61 72 65 61 73 20 77 68 | 65 72 65 20 74 68 65 20 |areas wh|ere the |
|00000140| 6c 61 77 73 20 6f 66 20 | 63 6f 70 79 72 69 67 68 |laws of |copyrigh|
|00000150| 74 20 61 70 70 6c 79 2e | 0d 09 55 53 45 20 41 54 |t apply.|..USE AT|
|00000160| 20 59 4f 55 52 20 4f 57 | 4e 20 52 49 53 4b 2e 0d | YOUR OW|N RISK..|
|00000170| 09 44 4f 20 4e 4f 54 20 | 44 49 53 54 52 49 42 55 |.DO NOT |DISTRIBU|
|00000180| 54 45 20 4d 4f 44 49 46 | 49 45 44 20 43 4f 50 49 |TE MODIF|IED COPI|
|00000190| 45 53 2e 0d 09 43 6f 6d | 6d 65 6e 74 73 2f 71 75 |ES...Com|ments/qu|
|000001a0| 65 73 74 69 6f 6e 73 2f | 70 6f 73 74 63 61 72 64 |estions/|postcard|
|000001b0| 73 20 74 6f 20 74 68 65 | 20 61 75 74 68 6f 72 20 |s to the| author |
|000001c0| 61 74 20 74 68 65 20 61 | 64 64 72 65 73 73 3a 0d |at the a|ddress:.|
|000001d0| 09 09 4a 6f 68 6e 20 4d | 6f 6e 74 62 72 69 61 6e |..John M|ontbrian|
|000001e0| 64 0d 09 09 50 2e 4f 2e | 20 42 6f 78 2e 20 31 31 |d...P.O.| Box. 11|
|000001f0| 33 33 0d 09 09 53 61 73 | 6b 61 74 6f 6f 6e 20 53 |33...Sas|katoon S|
|00000200| 61 73 6b 61 74 63 68 65 | 77 61 6e 20 43 61 6e 61 |askatche|wan Cana|
|00000210| 64 61 0d 09 09 53 37 4b | 20 33 4e 32 0d 09 6f 72 |da...S7K| 3N2..or|
|00000220| 20 62 79 20 65 6d 61 69 | 6c 20 61 74 3a 0d 09 09 | by emai|l at:...|
|00000230| 74 69 6e 79 6a 6f 68 6e | 40 73 6b 2e 73 79 6d 70 |tinyjohn|@sk.symp|
|00000240| 61 74 69 63 6f 2e 63 61 | 0d 09 49 66 20 79 6f 75 |atico.ca|..If you|
|00000250| 20 77 6f 75 6c 64 20 6c | 69 6b 65 20 74 6f 20 68 | would l|ike to h|
|00000260| 61 76 65 3a 0d 09 09 74 | 65 63 68 6e 69 63 61 6c |ave:...t|echnical|
|00000270| 20 73 75 70 70 6f 72 74 | 20 72 65 67 61 72 64 69 | support| regardi|
|00000280| 6e 67 20 74 68 69 73 20 | 66 69 6c 65 2c 20 73 65 |ng this |file, se|
|00000290| 6e 64 20 61 20 70 6f 73 | 74 63 61 72 64 2e 0d 09 |nd a pos|tcard...|
|000002a0| 73 65 65 20 61 6c 73 6f | 3a 0d 09 09 68 74 74 70 |see also|:...http|
|000002b0| 3a 2f 2f 77 77 77 33 2e | 73 6b 2e 73 79 6d 70 61 |://www3.|sk.sympa|
|000002c0| 74 69 63 6f 2e 63 61 2f | 74 69 6e 79 6a 6f 68 6e |tico.ca/|tinyjohn|
|000002d0| 0d 2a 2f 0d 0d 23 69 66 | 6e 64 65 66 20 5f 5f 5f |.*/..#if|ndef ___|
|000002e0| 53 54 44 50 52 49 4e 54 | 5f 5f 5f 0d 23 64 65 66 |STDPRINT|___.#def|
|000002f0| 69 6e 65 20 5f 5f 5f 53 | 54 44 50 52 49 4e 54 5f |ine ___S|TDPRINT_|
|00000300| 5f 5f 0d 0d 0d 23 69 6e | 63 6c 75 64 65 20 3c 54 |__...#in|clude <T|
|00000310| 79 70 65 73 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |ypes.h>.|#include|
|00000320| 20 3c 51 75 69 63 6b 44 | 72 61 77 2e 68 3e 0d 23 | <QuickD|raw.h>.#|
|00000330| 69 6e 63 6c 75 64 65 20 | 3c 50 72 69 6e 74 69 6e |include |<Printin|
|00000340| 67 2e 68 3e 0d 0d 2f 2a | 20 4e 65 77 50 72 69 6e |g.h>../*| NewPrin|
|00000350| 74 52 65 63 6f 72 64 20 | 63 72 65 61 74 65 73 20 |tRecord |creates |
|00000360| 61 20 6e 65 77 20 70 72 | 69 6e 74 69 6e 67 20 72 |a new pr|inting r|
|00000370| 65 63 6f 72 64 2c 20 63 | 61 6c 6c 69 6e 67 0d 09 |ecord, c|alling..|
|00000380| 74 68 65 20 63 75 72 72 | 65 6e 74 6c 79 20 73 65 |the curr|ently se|
|00000390| 6c 65 63 74 65 64 20 70 | 72 69 6e 74 65 72 20 64 |lected p|rinter d|
|000003a0| 72 69 76 65 72 20 74 6f | 20 6b 51 44 47 72 61 66 |river to| kQDGraf|
|000003b0| 56 65 72 62 46 69 6c 6c | 20 69 6e 20 74 68 65 20 |VerbFill| in the |
|000003c0| 64 65 66 61 75 6c 74 0d | 09 72 65 73 6f 6c 75 74 |default.|.resolut|
|000003d0| 69 6f 6e 2f 71 75 61 6c | 69 74 79 2f 65 74 63 20 |ion/qual|ity/etc |
|000003e0| 76 61 6c 75 65 73 2e 20 | 2a 2f 0d 4f 53 45 72 72 |values. |*/.OSErr|
|000003f0| 20 4e 65 77 50 72 69 6e | 74 52 65 63 6f 72 64 28 | NewPrin|tRecord(|
|00000400| 54 48 50 72 69 6e 74 20 | 2a 68 50 72 69 6e 74 29 |THPrint |*hPrint)|
|00000410| 3b 0d 0d 2f 2a 20 44 6f | 50 61 67 65 53 65 74 75 |;../* Do|PageSetu|
|00000420| 70 20 64 6f 65 73 20 61 | 20 70 61 67 65 20 73 65 |p does a| page se|
|00000430| 74 75 70 20 63 6f 6d 6d | 61 6e 64 20 66 6f 72 20 |tup comm|and for |
|00000440| 74 68 65 20 70 72 69 6e | 74 0d 09 72 65 63 6f 72 |the prin|t..recor|
|00000450| 64 20 77 69 74 68 20 74 | 68 65 20 67 69 76 65 6e |d with t|he given|
|00000460| 20 69 64 20 69 6e 20 74 | 68 65 20 69 6e 64 69 63 | id in t|he indic|
|00000470| 61 74 65 64 20 72 65 73 | 6f 75 72 63 65 20 66 69 |ated res|ource fi|
|00000480| 6c 65 2e 20 0d 09 69 66 | 20 74 68 65 20 2a 63 68 |le. ..if| the *ch|
|00000490| 61 6e 67 65 64 20 70 61 | 72 61 6d 65 74 65 72 20 |anged pa|rameter |
|000004a0| 69 73 20 73 65 74 20 74 | 6f 20 74 72 75 65 2c 20 |is set t|o true, |
|000004b0| 74 68 65 6e 20 74 68 65 | 0d 09 70 72 69 6e 74 20 |then the|..print |
|000004c0| 72 65 63 6f 72 64 20 68 | 61 73 20 62 65 65 6e 20 |record h|as been |
|000004d0| 6d 6f 64 69 66 69 65 64 | 20 69 6e 20 73 6f 6d 65 |modified| in some|
|000004e0| 20 77 61 79 20 61 6e 64 | 20 73 68 6f 75 6c 64 0d | way and| should.|
|000004f0| 09 62 65 20 73 61 76 65 | 64 20 28 65 76 65 6e 20 |.be save|d (even |
|00000500| 77 68 65 6e 20 61 20 6e | 6f 6e 2d 7a 65 72 6f 20 |when a n|on-zero |
|00000510| 72 65 73 75 6c 74 20 63 | 6f 64 65 20 69 73 20 72 |result c|ode is r|
|00000520| 65 74 75 72 6e 65 64 2e | 20 20 2a 2f 0d 4f 53 45 |eturned.| */.OSE|
|00000530| 72 72 20 44 6f 50 61 67 | 65 53 65 74 75 70 28 54 |rr DoPag|eSetup(T|
|00000540| 48 50 72 69 6e 74 20 68 | 50 72 69 6e 74 29 3b 0d |HPrint h|Print);.|
|00000550| 0d 0d 2f 2a 20 73 70 65 | 63 69 61 6c 20 6d 65 73 |../* spe|cial mes|
|00000560| 73 61 67 65 20 76 61 6c | 75 65 73 20 66 6f 72 20 |sage val|ues for |
|00000570| 50 72 69 6e 74 50 72 6f | 67 72 65 73 73 50 72 6f |PrintPro|gressPro|
|00000580| 63 20 2a 2f 0d 23 64 65 | 66 69 6e 65 20 6b 50 50 |c */.#de|fine kPP|
|00000590| 50 72 65 46 6c 69 67 68 | 74 20 28 2d 31 29 0d 23 |PreFligh|t (-1).#|
|000005a0| 64 65 66 69 6e 65 20 6b | 50 50 49 6e 46 6c 69 67 |define k|PPInFlig|
|000005b0| 68 74 20 28 2d 32 29 0d | 23 64 65 66 69 6e 65 20 |ht (-2).|#define |
|000005c0| 6b 50 50 50 6f 73 74 46 | 6c 69 67 68 74 20 28 2d |kPPPostF|light (-|
|000005d0| 33 29 0d 0d 2f 2a 20 50 | 72 69 6e 74 50 72 6f 67 |3)../* P|rintProg|
|000005e0| 72 65 73 73 50 72 6f 63 | 20 69 73 20 63 61 6c 6c |ressProc| is call|
|000005f0| 65 64 20 62 79 20 44 6f | 50 72 69 6e 74 54 61 73 |ed by Do|PrintTas|
|00000600| 6b 20 61 6c 6c 6f 77 69 | 6e 67 20 6f 70 70 6f 72 |k allowi|ng oppor|
|00000610| 74 75 6e 69 74 79 20 74 | 6f 20 64 69 73 70 6c 61 |tunity t|o displa|
|00000620| 79 0d 09 70 72 69 6e 74 | 69 6e 67 20 70 72 6f 67 |y..print|ing prog|
|00000630| 72 65 73 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |ress inf|ormation|
|00000640| 20 6f 72 20 74 6f 20 72 | 75 6e 20 79 6f 75 72 20 | or to r|un your |
|00000650| 6d 61 69 6e 20 6c 6f 6f | 70 2c 20 6f 72 20 77 68 |main loo|p, or wh|
|00000660| 61 74 65 76 65 72 2e 20 | 20 20 20 69 66 0d 09 6d |atever. | if..m|
|00000670| 65 73 73 61 67 65 20 69 | 73 20 6f 6e 65 20 6f 66 |essage i|s one of|
|00000680| 20 74 68 65 20 61 62 6f | 76 65 20 63 6f 6e 73 74 | the abo|ve const|
|00000690| 61 6e 74 73 2c 20 74 68 | 65 6e 20 69 74 20 6d 65 |ants, th|en it me|
|000006a0| 61 6e 73 3a 0d 09 09 6b | 50 50 50 72 65 46 6c 69 |ans:...k|PPPreFli|
|000006b0| 67 68 74 20 2d 2d 20 63 | 61 6c 6c 65 64 20 61 74 |ght -- c|alled at|
|000006c0| 20 62 65 67 69 6e 6e 69 | 6e 67 2c 20 6f 6e 6c 79 | beginni|ng, only|
|000006d0| 20 6f 6e 63 65 20 61 6e | 64 20 61 6c 77 61 79 73 | once an|d always|
|000006e0| 20 6f 6e 63 65 2c 0d 09 | 09 6b 50 50 49 6e 46 6c | once,..|.kPPInFl|
|000006f0| 69 67 68 74 20 2d 2d 20 | 63 61 6c 6c 65 64 20 64 |ight -- |called d|
|00000700| 75 72 69 6e 67 20 70 72 | 69 6e 74 69 6e 67 20 6c |uring pr|inting l|
|00000710| 6f 74 73 20 6f 66 20 74 | 69 6d 65 73 2c 20 73 70 |ots of t|imes, sp|
|00000720| 69 6e 20 74 68 65 20 63 | 75 72 73 6f 72 0d 09 09 |in the c|ursor...|
|00000730| 6b 50 50 50 6f 73 74 46 | 6c 69 67 68 74 20 2d 2d |kPPPostF|light --|
|00000740| 20 63 61 6c 6c 65 64 20 | 61 74 20 74 68 65 20 65 | called |at the e|
|00000750| 6e 64 2c 20 6f 6e 6c 79 | 20 6f 6e 63 65 20 61 6e |nd, only| once an|
|00000760| 64 20 61 6c 77 61 79 73 | 20 6f 6e 63 65 0d 09 69 |d always| once..i|
|00000770| 66 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 6d |f the va|lue of m|
|00000780| 65 73 73 61 67 65 20 69 | 73 20 67 72 65 61 74 65 |essage i|s greate|
|00000790| 72 20 74 68 61 6e 20 7a | 65 72 6f 2c 20 69 74 20 |r than z|ero, it |
|000007a0| 77 69 6c 6c 20 62 65 20 | 74 68 65 20 70 61 67 65 |will be |the page|
|000007b0| 20 6e 75 6d 62 65 72 20 | 6f 66 0d 09 74 68 65 20 | number |of..the |
|000007c0| 70 61 67 65 20 74 68 61 | 74 20 69 73 20 61 62 6f |page tha|t is abo|
|000007d0| 75 74 20 74 6f 20 62 65 | 20 64 72 61 77 6e 20 74 |ut to be| drawn t|
|000007e0| 6f 20 74 68 65 20 70 72 | 69 6e 74 65 72 20 62 79 |o the pr|inter by|
|000007f0| 20 79 6f 75 72 20 50 72 | 69 6e 74 50 61 67 65 50 | your Pr|intPageP|
|00000800| 72 6f 63 2e 0d 09 70 61 | 72 61 6d 20 69 73 20 74 |roc...pa|ram is t|
|00000810| 68 65 20 73 61 6d 65 20 | 61 73 20 74 68 65 20 70 |he same |as the p|
|00000820| 61 72 61 6d 20 76 61 6c | 75 65 20 70 61 73 73 65 |aram val|ue passe|
|00000830| 64 20 74 6f 20 74 68 65 | 20 44 6f 50 72 69 6e 74 |d to the| DoPrint|
|00000840| 54 61 73 6b 0d 09 70 72 | 6f 63 65 64 75 72 65 2e |Task..pr|ocedure.|
|00000850| 20 2a 2f 0d 74 79 70 65 | 64 65 66 20 76 6f 69 64 | */.type|def void|
|00000860| 20 28 2a 50 72 69 6e 74 | 50 72 6f 67 72 65 73 73 | (*Print|Progress|
|00000870| 50 72 6f 63 29 28 6c 6f | 6e 67 20 6d 65 73 73 61 |Proc)(lo|ng messa|
|00000880| 67 65 2c 20 6c 6f 6e 67 | 20 70 61 72 61 6d 29 3b |ge, long| param);|
|00000890| 0d 0d 2f 2a 20 50 72 69 | 6e 74 50 61 67 65 50 72 |../* Pri|ntPagePr|
|000008a0| 6f 63 20 69 73 20 63 61 | 6c 6c 65 64 20 66 6f 72 |oc is ca|lled for|
|000008b0| 20 65 61 63 68 20 70 61 | 67 65 20 79 6f 75 20 73 | each pa|ge you s|
|000008c0| 68 6f 75 6c 64 20 70 72 | 69 6e 74 2e 20 20 70 61 |hould pr|int. pa|
|000008d0| 67 65 6e 75 6d 20 69 73 | 20 74 68 65 20 6e 75 6d |genum is| the num|
|000008e0| 62 65 72 20 6f 66 20 74 | 68 65 0d 09 70 61 67 65 |ber of t|he..page|
|000008f0| 20 62 65 69 6e 67 20 64 | 72 61 77 6e 2d 2d 74 68 | being d|rawn--th|
|00000900| 65 20 66 69 72 73 74 20 | 74 69 6d 65 20 79 6f 75 |e first |time you|
|00000910| 72 20 72 6f 75 74 69 6e | 65 20 69 73 20 63 61 6c |r routin|e is cal|
|00000920| 6c 65 64 2c 20 74 68 69 | 73 20 6d 61 79 20 6e 6f |led, thi|s may no|
|00000930| 74 20 62 65 20 6f 6e 65 | 2c 20 69 74 27 6c 6c 0d |t be one|, it'll.|
|00000940| 09 62 65 20 74 68 65 20 | 66 69 72 73 74 20 70 61 |.be the |first pa|
|00000950| 67 65 20 72 65 71 75 65 | 73 74 65 64 20 62 79 20 |ge reque|sted by |
|00000960| 74 68 65 20 75 73 65 72 | 2e 20 20 70 61 67 65 62 |the user|. pageb|
|00000970| 6f 75 6e 64 73 20 69 73 | 20 74 68 65 20 62 6f 75 |ounds is| the bou|
|00000980| 6e 64 61 72 79 20 72 65 | 63 74 61 6e 67 6c 65 20 |ndary re|ctangle |
|00000990| 66 6f 72 0d 09 74 68 65 | 20 70 61 67 65 2e 20 20 |for..the| page. |
|000009a0| 70 61 72 61 6d 20 69 73 | 20 74 68 65 20 73 61 6d |param is| the sam|
|000009b0| 65 20 61 73 20 74 68 65 | 20 70 61 72 61 6d 20 76 |e as the| param v|
|000009c0| 61 6c 75 65 20 70 61 73 | 73 65 64 20 74 6f 20 74 |alue pas|sed to t|
|000009d0| 68 65 20 44 6f 50 72 69 | 6e 74 54 61 73 6b 0d 09 |he DoPri|ntTask..|
|000009e0| 70 72 6f 63 65 64 75 72 | 65 2e 20 79 6f 75 72 20 |procedur|e. your |
|000009f0| 50 72 69 6e 74 50 61 67 | 65 50 72 6f 63 20 72 65 |PrintPag|eProc re|
|00000a00| 74 75 72 6e 20 66 61 6c | 73 65 20 69 66 20 74 68 |turn fal|se if th|
|00000a10| 65 72 65 20 61 72 65 20 | 6e 6f 20 6d 6f 72 65 20 |ere are |no more |
|00000a20| 70 61 67 65 73 20 61 6e | 64 0d 09 69 74 20 73 68 |pages an|d..it sh|
|00000a30| 6f 75 6c 64 20 6e 6f 74 | 20 62 65 20 63 61 6c 6c |ould not| be call|
|00000a40| 65 64 20 61 67 61 69 6e | 2e 20 2a 2f 0d 74 79 70 |ed again|. */.typ|
|00000a50| 65 64 65 66 20 42 6f 6f | 6c 65 61 6e 20 28 2a 50 |edef Boo|lean (*P|
|00000a60| 72 69 6e 74 50 61 67 65 | 50 72 6f 63 29 28 6c 6f |rintPage|Proc)(lo|
|00000a70| 6e 67 20 70 61 67 65 6e | 75 6d 2c 20 52 65 63 74 |ng pagen|um, Rect|
|00000a80| 20 2a 70 61 67 65 62 6f | 75 6e 64 73 2c 20 6c 6f | *pagebo|unds, lo|
|00000a90| 6e 67 20 70 61 72 61 6d | 29 3b 0d 0d 0d 2f 2a 20 |ng param|);.../* |
|00000aa0| 44 6f 50 72 69 6e 74 54 | 61 73 6b 20 64 69 73 70 |DoPrintT|ask disp|
|00000ab0| 6c 61 79 73 20 74 68 65 | 20 70 72 69 6e 74 20 64 |lays the| print d|
|00000ac0| 69 61 6c 6f 67 20 62 6f | 78 20 61 6e 64 20 74 68 |ialog bo|x and th|
|00000ad0| 65 6e 20 70 72 6f 63 65 | 73 73 65 73 20 74 68 65 |en proce|sses the|
|00000ae0| 20 70 72 69 6e 74 20 63 | 6f 6d 6d 61 6e 64 0d 09 | print c|ommand..|
|00000af0| 63 61 6c 6c 69 6e 67 20 | 74 68 65 20 70 72 6f 76 |calling |the prov|
|00000b00| 69 64 65 64 20 70 61 67 | 65 20 64 72 61 77 69 6e |ided pag|e drawin|
|00000b10| 67 20 61 6e 64 20 70 72 | 6f 67 72 65 73 73 20 72 |g and pr|ogress r|
|00000b20| 65 70 6f 72 74 69 6e 67 | 20 72 6f 75 74 69 6e 65 |eporting| routine|
|00000b30| 73 2e 20 20 59 6f 75 72 | 20 70 61 67 65 0d 09 64 |s. Your| page..d|
|00000b40| 72 61 77 69 6e 67 20 72 | 6f 75 74 69 6e 65 20 73 |rawing r|outine s|
|00000b50| 68 6f 75 6c 64 20 72 65 | 74 75 72 6e 20 66 61 6c |hould re|turn fal|
|00000b60| 73 65 20 61 66 74 65 72 | 20 69 74 20 68 61 73 20 |se after| it has |
|00000b70| 64 72 61 77 6e 20 74 68 | 65 20 6c 61 73 74 20 70 |drawn th|e last p|
|00000b80| 61 67 65 2e 20 20 70 70 | 72 6f 67 72 65 73 73 0d |age. pp|rogress.|
|00000b90| 09 69 73 20 6f 70 74 69 | 6f 6e 61 6c 2c 20 61 6e |.is opti|onal, an|
|00000ba0| 64 20 6d 61 79 20 62 65 | 20 73 65 74 20 74 6f 20 |d may be| set to |
|00000bb0| 4e 55 4c 4c 2e 20 20 70 | 61 72 61 6d 20 69 73 20 |NULL. p|aram is |
|00000bc0| 70 61 73 73 65 64 20 61 | 6c 6f 6e 67 20 74 6f 20 |passed a|long to |
|00000bd0| 74 68 65 20 70 70 61 67 | 65 20 61 6e 64 20 70 70 |the ppag|e and pp|
|00000be0| 72 6f 67 72 65 73 73 0d | 09 72 6f 75 74 69 6e 65 |rogress.|.routine|
|00000bf0| 73 2e 20 20 2a 2f 0d 4f | 53 45 72 72 20 44 6f 50 |s. */.O|SErr DoP|
|00000c00| 72 69 6e 74 54 61 73 6b | 28 54 48 50 72 69 6e 74 |rintTask|(THPrint|
|00000c10| 20 68 50 72 69 6e 74 2c | 20 50 72 69 6e 74 50 61 | hPrint,| PrintPa|
|00000c20| 67 65 50 72 6f 63 20 70 | 70 61 67 65 2c 20 50 72 |geProc p|page, Pr|
|00000c30| 69 6e 74 50 72 6f 67 72 | 65 73 73 50 72 6f 63 20 |intProgr|essProc |
|00000c40| 70 70 72 6f 67 72 65 73 | 73 2c 20 6c 6f 6e 67 20 |pprogres|s, long |
|00000c50| 70 61 72 61 6d 29 3b 0d | 0d 23 65 6e 64 69 66 0d |param);.|.#endif.|
|00000c60| 0d 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c80| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000c90| 2b 2b 29 0d 09 09 09 69 | 66 20 28 45 71 75 61 6c |++)....i|f (Equal|
|00000ca0| 46 53 50 28 26 77 66 61 | 70 2d 3e 73 70 65 63 2c |FSP(&wfa|p->spec,|
|00000cb0| 0a 53 74 64 50 72 69 6e | 74 2e 68 2d 02 00 00 00 |.StdPrin|t.h-....|
|00000cc0| 54 45 58 54 4d 50 53 20 | 01 00 ff ff ff ff 00 00 |TEXTMPS |........|
|00000cd0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 ae e6 96 73 00 00 | 0b e2 00 00 01 ac 69 6e |.....s..|......in|
|00000d00| 64 46 69 6c 65 4c 69 73 | 74 29 3b 0d 09 7d 0d 09 |dFileLis|t);..}..|
|00000d10| 72 65 74 75 72 6e 20 74 | 68 65 5f 77 69 6e 64 6f |return t|he_windo|
|00000d20| 77 3b 0d 7d 0d 0d 52 65 | 63 74 2a 20 43 65 6e 74 |w;.}..Re|ct* Cent|
|00000d30| 65 72 52 65 63 74 61 6e | 67 6c 65 28 52 65 63 74 |erRectan|gle(Rect|
|00000d40| 2a 20 74 61 72 67 65 74 | 2c 20 52 65 63 74 2a 20 |* target|, Rect* |
|00000d50| 74 68 65 42 6f 78 29 20 | 7b 0d 09 52 65 63 74 20 |theBox) |{..Rect |
|00000d60| 64 72 20 3d 20 2a 74 61 | 72 67 65 74 2c 20 77 72 |dr = *ta|rget, wr|
|00000d70| 20 3d 20 2a 74 68 65 42 | 6f 78 2c 20 72 3b 0d 09 | = *theB|ox, r;..|
|00000d80| 00 00 00 48 00 09 47 65 | 6e 65 76 61 00 63 61 00 |...H..Ge|neva.ca.|
|00000d90| 03 df 6d f0 47 55 54 49 | 4c 49 54 49 45 53 5f 5f |..m.GUTI|LITIES__|
|00000da0| 0d 0d 23 69 6e 63 00 03 | 00 08 00 6b 00 42 02 ac |..#inc..|...k.B..|
|00000db0| 02 78 00 6b 00 42 02 ac | 02 78 b0 5f 57 ad 00 00 |.x.k.B..|.x._W...|
|00000dc0| 02 51 00 00 02 51 00 00 | 00 00 01 00 00 00 00 1e |.Q...Q..|........|
|00000dd0| 00 6b 00 42 02 ac 02 78 | 00 6b 00 42 02 ac 02 78 |.k.B...x|.k.B...x|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 03 d6 |.....n..|.n...>..|
|00000e00| 71 38 26 32 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |q8&2....|.>..MPSR|
|00000e10| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 03 f0 ff ff 00 00 00 4c | 03 d7 cc 30 00 00 00 00 |.......L|...0....|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+